package com.eagle.commons.vo;

import java.util.Date;

import com.eagle.utils.DateUtil;

public class tbl_OfficeCardParamDicInuse {
	
	private String cardid;

	private String cardnetid;

	private Date usetime;

	private Date expiretime;

	private Integer version;
    private Integer freetype;

    private Integer freeareanum;

    private String freearea;

    private Integer rebate;

    private Date starttime;

    private Integer spare1;

    private String spare2;

    private String remarks;
    
    private String cardID;
    private String useTime;
    private String expireTime;

    

    public String getFreearea() {
        return freearea;
    }

    public void setFreearea(String freearea) {
        this.freearea = freearea;
    }

  

    public Integer getFreetype() {
		return freetype;
	}

	public void setFreetype(Integer freetype) {
		this.freetype = freetype;
	}

	public Integer getFreeareanum() {
		return freeareanum;
	}

	public void setFreeareanum(Integer freeareanum) {
		this.freeareanum = freeareanum;
	}

	public Integer getRebate() {
		return rebate;
	}

	public void setRebate(Integer rebate) {
		this.rebate = rebate;
	}

	public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

   

    public Integer getSpare1() {
		return spare1;
	}

	public void setSpare1(Integer spare1) {
		this.spare1 = spare1;
	}

	public String getSpare2() {
        return spare2;
    }

    public void setSpare2(String spare2) {
        this.spare2 = spare2;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

	public String getCardid() {
		return cardid;
	}

	public void setCardid(String cardid) {
		this.cardid = cardid;
		this.cardID ="6301"+cardid;
	}

	public String getCardnetid() {
		return cardnetid;
	}

	public void setCardnetid(String cardnetid) {
		this.cardnetid = cardnetid;
	}

	public Date getUsetime() {
		return usetime;
	}

	public void setUsetime(Date usetime) {
		this.usetime = usetime;
		this.useTime =DateUtil.dateToStr(usetime);
	}

	public Date getExpiretime() {
		return expiretime;
	}

	public void setExpiretime(Date expiretime) {
		this.expiretime = expiretime;
		this.expireTime =DateUtil.dateToStr(expiretime);
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public String getCardID() {
		return cardID;
	}

	public void setCardID(String cardID) {
		this.cardID = cardID;
	}

	public String getUseTime() {
		return useTime;
	}

	public void setUseTime(String useTime) {
		this.useTime = useTime;
	}

	public String getExpireTime() {
		return expireTime;
	}

	public void setExpireTime(String expireTime) {
		this.expireTime = expireTime;
	}

	
    
}